export default [
  // 新建场景工作台
  {
    path: '/sceneView',
    name: 'SceneView',
    // meta: {
      title: '工作台',
    //   keepAlive: true
    // },
    component: () => import('@/views/scene/SceneView'),
  },
  {
    path: '/sceneView/sceneAdd',
    name: 'SceneAdd',

    component: () => import('@/views/scene/SceneAdd')
  },
  //数据加工表格路由
  {
    path: '/processTable',
    name: 'processTable',
    component: () => import('@/views/scene/ProcessTable')
  },
  //数据来源 数据连接总路由 
  {
    path: '/dataView',
    name: 'DataView',
    redirect: '/dataSource',
    component: () => import('@/views/scene/DataView'),
    children: [
      // 数据连接路由
      {
        path: '/dataSource',
        name: 'DataSource',
        component: () => import('@/views/scene/DataSource'),
      },
      // 数据来源路由
      {
        path: '/dataConnection',
        name: 'DataConnection',
        component: () => import('@/views/scene/DataConnection'),
      }
    ]
  },
]
